/* declare and initialize timeout variable */long timeout= mseconds() + 4000L;while (1)  {  if (left_eye() == 0) veer_left();  else if (right_eye() == 1) veer_right();  else forward();    if (left_touch() || right_touch()) break;    /* check for timeout */  if (mseconds() > timeout) break;}